package com.uls.ldcm.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uls.common.annotation.Excel;
import com.uls.common.core.domain.BaseEntity;

/**
 * 工作量考核对象 lb_performance
 * 
 * @author gw
 * @date 2024-11-11
 */
public class Performance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 考核记录唯一标识 */
    private Long performanceId;

    /** 劳务人员ID */
    @Excel(name = "劳务人员ID")
    private Long laborerId;

    @Excel(name = "姓名")
    private String name;

    /** 考核日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "考核日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date evaluationDate;

    /** 完成的工作量 */
    @Excel(name = "完成的工作量")
    private BigDecimal workCompleted;

    /** 工作质量评分 */
    @Excel(name = "工作质量评分")
    private Integer qualityScore;

    /** 创建时间 */
    private Date createdAt;

    /** 更新时间 */
    private Date updatedAt;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPerformanceId(Long performanceId)
    {
        this.performanceId = performanceId;
    }

    public Long getPerformanceId() 
    {
        return performanceId;
    }
    public void setLaborerId(Long laborerId) 
    {
        this.laborerId = laborerId;
    }

    public Long getLaborerId() 
    {
        return laborerId;
    }
    public void setEvaluationDate(Date evaluationDate) 
    {
        this.evaluationDate = evaluationDate;
    }

    public Date getEvaluationDate() 
    {
        return evaluationDate;
    }
    public void setWorkCompleted(BigDecimal workCompleted) 
    {
        this.workCompleted = workCompleted;
    }

    public BigDecimal getWorkCompleted() 
    {
        return workCompleted;
    }
    public void setQualityScore(Integer qualityScore) 
    {
        this.qualityScore = qualityScore;
    }

    public Integer getQualityScore() 
    {
        return qualityScore;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("performanceId", getPerformanceId())
            .append("laborerId", getLaborerId())
                .append("name",getName())
            .append("evaluationDate", getEvaluationDate())
            .append("workCompleted", getWorkCompleted())
            .append("qualityScore", getQualityScore())
            .append("createBy", getCreateBy())
            .append("createdAt", getCreatedAt())
            .append("updateBy", getUpdateBy())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
